package com.mall.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mall.entity.sys.ProductEO;

import java.util.List;


/**
 * <p>
 * 商品表  Mapper 接口
 * </p>
 *
 * @author Dczzs
 * @since 2020-06-30
 */
public interface ProductMapper extends BaseMapper<ProductEO> {

		ProductEO queryById(Integer id);
		IPage<ProductEO> queryByParentTypeId(Page<ProductEO> page, Integer id);
		
		List<ProductEO> queryHDListByType1();
		List<ProductEO>queryHDListByType2();
		
		
}
